ostbuild: Fix previous commit (this should have been amended)
authorColin Walters <walters@verbum.org>
Fri, 8 Jun 2012 20:51:51 +0000 (16:51 -0400)
committerColin Walters <walters@verbum.org>
Fri, 8 Jun 2012 20:51:51 +0000 (16:51 -0400)
src/ostbuild/pyostbuild/vcs.py

index 45a5c4a4934cee84f80ddf0f0a7c132478f211e1..85f2f85c622b802ac95209129c46ea248eefa46f 100755 (executable)
@@ -145,7 +145,7 @@ def fetch(mirrordir, keytype, uri, branch, keep_going=False):
     mirror = buildutil.get_mirrordir(mirrordir, keytype, uri)
     last_fetch_path = get_lastfetch_path(mirrordir, keytype, uri, branch)
     run_sync(['git', 'fetch'], cwd=mirror, log_initiation=False,
-             none_on_error=keep_going) 
+             fatal_on_error=not keep_going) 
     current_vcs_version = run_sync_get_output(['git', 'rev-parse', branch], cwd=mirror)
     if current_vcs_version is not None:
         current_vcs_version = current_vcs_version.strip()